<template>
	<div class="detail" style="padding: 1rem; text-align: center;">
		<h1 v-html="message"></h1>
		<router-link to="/index"><button>返回首页</button></router-link>
	</div>
</template>

<script>
	export default {
		name: 'detail',
		data() {
			return {
				message: 'This is Introduce.vue.'
			}
		},
		methods: {
			toMain: function() {
				this.$router.push({
					path: '/index'
				})
			}
		}
	}
</script>